package io.renren.modules.wyzs.mobile_BillAdapterMoudle;


import io.renren.modules.wyzs.mobile_EnumMoudle.EnumBillGetState;
import io.renren.modules.wyzsphone.commWithWCF.OrganizeClient;

import java.util.HashMap;
import java.util.UUID;

public class BillData {

    public BillData() {
        NewStamp = UUID.randomUUID().toString();
    }

    public void BingTemp(BillTemp temp) {
        ClassTypeID = temp.getClassTypeID();
        ClassType = temp.getClassType();
    }


    /// <summary>
    /// 新的字符戳
    /// </summary>
    private String NewStamp;

    public String getNewStamp() {
        return this.NewStamp;
    }

    public void setNewStamp(String NewStamp) {
        this.NewStamp = NewStamp;
    }

    /// <summary>
    /// 组织
    /// </summary>
    private OrganizeClient Organize = new OrganizeClient();

    public OrganizeClient getOrganize() {
        return this.Organize;
    }

    public void setOrganize(OrganizeClient Organize) {
        this.Organize = Organize;
    }

    /// <summary>
    /// ID
    /// </summary>
    private int ID;

    public int getID() {
        return this.ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    /// <summary>
    /// 编号
    /// </summary>
    private String BillNo;

    public String getBillno() {
        return this.BillNo;
    }

    public void setBillNo(String BillNo) {
        this.BillNo = BillNo;
    }

    /// <summary>
    /// 获取状态
    /// </summary>
    private EnumBillGetState State = EnumBillGetState.None;

    public EnumBillGetState getState() {
        return this.State;
    }

    public void setState(EnumBillGetState State) {
        this.State = State;
    }

    /// <summary>
    /// 单据类型ID
    /// </summary>
    private int ClassTypeID;

    public int getClassTypeID() {
        return this.ClassTypeID;
    }

    public void getClassTypeID(int ClassTypeID) {
        this.ClassTypeID = ClassTypeID;
    }

    /// <summary>
    /// 单据类型
    /// </summary>
    private String ClassType;

    public String getClassType() {
        return this.ClassType;
    }

    public void setClassType(String ClassType) {
        this.ClassType = ClassType;
    }

    /// <summary>
    /// 时间戳
    /// </summary>
    private String TimeStamp;

    public String getTimeStamp() {
        return this.TimeStamp;
    }

    public void setTimeStamp(String TimeStamp) {
        this.TimeStamp = TimeStamp;
    }

    /// <summary>
    /// 字符戳
    /// </summary>
    private String CharStamp;

    public String getCharStamp() {
        return this.CharStamp;
    }

    public void setCharStamp(String CharStamp) {
        this.CharStamp = CharStamp;
    }

    /// <summary>
    /// 字段列表
    /// </summary>
    private HashMap<Integer, Object> Fields = new HashMap<Integer, Object>();

    public HashMap<Integer, Object> getFields() {
        return this.Fields;
    }

    public void setFields(HashMap<Integer, Object> Fields) {
        this.Fields = Fields;
    }

    private HashMap<Integer, BillEntry> Entrys = new HashMap<Integer, BillEntry>();

    public HashMap<Integer, BillEntry> getEntrys() {
        return this.Entrys;
    }

    public void setEntrys(HashMap<Integer, BillEntry> Entrys) {
        this.Entrys = Entrys;
    }
}
